package com.jason.kotlin.gank.model

import com.google.gson.annotations.SerializedName

/**
 * @description: GankCategoryBean
 *
 * @author ChenBaoyang
 * @date 4/19/21 10:05
 */
data class GankCategoryBean(
    /**
     * "_id": "5e59ec146d359d60b476e621",
    "coverImageUrl": "http://gank.io/images/b9f867a055134a8fa45ef8a321616210",
    "desc": "Always deliver more than expected.（Larry Page）",
    "title": "Android",
    "type": "Android"
     */

    @SerializedName("_id")
    var id: String,
    var coverImageUrl: String,
    var desc: String,
    var title: String,
    var type: String
) {
    override fun toString(): String {
        return "GankCategoryBean(id='$id', coverImageUrl='$coverImageUrl', desc='$desc', title='$title', type='$type')"
    }
}